package com.jcl.cloud.services.crawler.catchnew.constant;

import java.io.File;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentLinkedQueue;
import java.util.concurrent.Semaphore;

public class TaskInfo {

    public static Map<String,String> taskRunningMap = new ConcurrentHashMap<>();
    public static Semaphore taskCount = new Semaphore(2);
    public static ConcurrentLinkedQueue<String> taskQueue = new ConcurrentLinkedQueue();
    public static ConcurrentHashMap<String,String> pointMap = new ConcurrentHashMap<>();
    public static ConcurrentHashMap<String,File> bigImageMap = new ConcurrentHashMap<>();
    public static ConcurrentHashMap<String,String> taskStatusMap = new ConcurrentHashMap<>();
    public static ConcurrentHashMap<String,File> validateImageMap = new ConcurrentHashMap<>();
    public static ConcurrentHashMap<String,File> smallImageMap = new ConcurrentHashMap<>();



    public static ConcurrentHashMap<String,String> rid2jidMap = new ConcurrentHashMap<>();


    public static ConcurrentLinkedQueue<String> qcwyFileQueue = new ConcurrentLinkedQueue<>();


    public static ConcurrentHashMap<String,String> runningTask = new ConcurrentHashMap<>();


    public static ConcurrentHashMap<String,String> taskLockMap = new ConcurrentHashMap<>();

}
